#!/bin/bash
cmds=( 
    "ros2 launch hnurm_camera hnurm_camera.launch.py"
    "ros2 launch hnurm_detect hnurm_detect.launch.py"
    
   "ros2 launch hnurm_armor hnurm_armor.launch.py"
    "ros2 launch hnurm_uart hnurm_uart.launch.py"
    # "ros2 launch usb_cam camera.launch.py"  

    "ros2 launch foxglove_bridge foxglove_bridge_launch.xml"
    
)
for cmd in "${cmds[@]}"
do
    echo Current CMD : "$cmd"
    gnome-terminal -- bash -c "cd $(pwd);source ~/ros-humble-ros1-bridge/install/local_setup.bash;source /home/rm/nav/install/setup.bash;$cmd;exec bash;"
    sleep 0.2 
done
